package com.ktmall.ktmalluijava.pojo;

import lombok.Data;

/**
 * @author ZhouShuang
 * @version 17
 * @Title
 * @date 2025/5/8 下午8:04
 */
@Data
public class WxUser {
    private Integer id; // 微信用户id
    private String username; // 用户名称
    private String password ; //用户密码；
    private Integer gender ; //性别：0：未知 1：男，2女
    private String birthday ;//生日
    private String lastLoginTime; //最后一次登录时间
    private String lastLoginIp;//最后一次登录ip地址
    private  Integer userLevel;//用户等级 0普通用户 1vip用户 2高级vip用户
    private String nickname; //用户昵称或网络名称
    private String mobile; //用户手机号码
    private String avatar ; //用户头像
    private String sessionKey;//微信登录会话KEY
    private Integer enabled;//删除标识字段(0-未删除 1-已删除)
    private String createTime;
    private String updateTime;
    private Integer status; //0：正常 1：禁用 2.注销
    private String openId; //用户的唯一标识
    private String token ; //token令牌
    private String fullLocation ; //详细家庭地址
    private String profession; //职业
    private Integer deleted;//逻辑删除

    public WxUser(Integer id, String username, String password, Integer gender, String birthday, String lastLoginTime, String lastLoginIp, Integer userLevel, String nickname, String mobile, String avatar, String sessionKey, Integer enabled, String createTime, String updateTime, Integer deleted, String openId, String token,String fullLocation , String profession,Integer status) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.birthday = birthday;
        this.lastLoginTime = lastLoginTime;
        this.lastLoginIp = lastLoginIp;
        this.userLevel = userLevel;
        this.nickname = nickname;
        this.mobile = mobile;
        this.avatar = avatar;
        this.sessionKey = sessionKey;
        this.enabled = enabled;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
        this.openId = openId;
        this.token = token;
        this.fullLocation = fullLocation;
        this.profession = profession;
        this.status = status;
    }

    public WxUser(){

    }

}
